﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Business
{
    public class ExcelType
    {
        private List<Business.ProjectStatusTaskType> _Tasks;
        public List<Business.ProjectStatusTaskType> Tasks
        {
            get { return _Tasks; }
            set { _Tasks = value; }
        }

        private GridContractType _Contract;
        public GridContractType Contract
        {
            get { return _Contract; }
            set { _Contract = value; }
        }

        private Guid _ContractId;
        public Guid ContractId
        {
            get { return _ContractId; }
            set
            {
                _ContractId = value;
            }
        }


        

        public ExcelType(List<ProjectStatusTaskType> projectStatus , GridContractType contract)
        {
            Contract = contract;
            Tasks = projectStatus;
            ContractId = Contract.ContractId;
        }

        public ExcelType()
        {}
    }
}